package edu.sctu.zhengsenwen.month201506.day20150619.Practice;

/**
 * Created by user15 on 2015/6/19.
 */
public final class FinalClassDemo {

    double numberOne =0;

    final double numberTwo =10;

    public FinalClassDemo(){

        numberOne = 15;
    }

    public final void setValue(){

        numberOne = 22;
        //不可对nummberTwo进行赋值，因为它是final类变量。
    }
}
